package com.prp.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo implements java.io.Serializable {

	// Fields

	private String username;
	private String password;
	private String email;
	private Boolean isAdmin;
	private Boolean isActive;
	private Set comments = new HashSet(0);
	private Set roles = new HashSet(0);
	private Set collects = new HashSet(0);
	private Set grades = new HashSet(0);
	private Set editlogs = new HashSet(0);
	
	// Constructors

	/** default constructor */
	public Userinfo() {
	}

	/** minimal constructor */
	public Userinfo(String username) {
		this.username = username;
	}

	/** full constructor */
	public Userinfo(String username, String password, String email,
			Boolean isAdmin, Boolean isActive, Set comments, Set roles,
			Set collents, Set grades, Set editlogs) {
		this.username = username;
		this.password = password;
		this.email = email;
		this.isAdmin = isAdmin;
		this.isActive = isActive;
		this.comments = comments;
		this.roles = roles;
		this.collects = collents;
		this.grades = grades;
		this.editlogs = editlogs;
	}

	// Property accessors

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Boolean getIsAdmin() {
		return this.isAdmin;
	}

	public void setIsAdmin(Boolean isAdmin) {
		this.isAdmin = isAdmin;
	}

	public Boolean getIsActive() {
		return this.isActive;
	}

	public void setIsActive(Boolean isActive) {
		this.isActive = isActive;
	}

	public Set getComments() {
		return this.comments;
	}

	public void setComments(Set comments) {
		this.comments = comments;
	}

	public Set getRoles() {
		return this.roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

	public Set getCollects() {
		return this.collects;
	}

	public void setCollects(Set collects) {
		this.collects = collects;
	}

	public Set getGrades() {
		return this.grades;
	}

	public void setGrades(Set grades) {
		this.grades = grades;
	}

	public Set getEditlogs() {
		return this.editlogs;
	}

	public void setEditlogs(Set editlogs) {
		this.editlogs = editlogs;
	}

}